package com.test.service.Impl;

import com.test.dao.WX_StoresMapper;
import com.test.domain.WX_Stores;
import com.test.enums.Replay;
import com.test.service.WX_StoresService;
import com.test.utils.isNullObjectUtil;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * WX_StoreServiceImpl
 *
 * @author HY
 * 2021/05/21 10:34
 **/


@Service
public class WX_StoresServiceImpl implements WX_StoresService {

    @Resource
    private WX_StoresMapper storesMapper;

    @Override
    public Replay select() {

        Replay replay = new Replay();

        List<WX_Stores> stores = storesMapper.select();

        replay.setCode(0);
        replay.setMsg("查询成功");
        replay.setData(stores);

        return replay;
    }
}
